---
apiVersion: deckhouse.io/v1alpha1
kind: ClusterLoggingConfig
metadata:
  name: test-source
spec:
  type: File
  file:
    include: ["/var/log/kube-audit/audit.log"]
  destinationRefs:
    - test-kafka-dest
---
apiVersion: deckhouse.io/v1alpha1
kind: ClusterLogDestination
metadata:
  name: test-kafka-dest
spec:
  type: Kafka
  kafka:
    bootstrapServers:
    - "192.168.1.1:9200"
    encoding:
      codec: CEF
    topic: "logs"
    tls:
      clientCrt:
        crtFile: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUMvVENDQWVXZ0F3SUJBZ0lJTTY5OXhOMGVTckl3RFFZSktvWklodmNOQVFFTEJRQXdGVEVUTUJFR0ExVUUKQXhNS2EzVmlaWEp1WlhSbGN6QWVGdzB5TURBNE1USXhOakl5TlROYUZ3MHlNVEE0TVRJeE5qSXlOVFJhTUQ4eApGVEFUQmdOVkJBb1RESE41YzNSbGJUcHViMlJsY3pFbU1DUUdBMVVFQXhNZGMzbHpkR1Z0T201dlpHVTZjM1JoCmJtUmhjbVF0YldGemRHVnlMVEF3Z2dFaU1BMEdDU3FHU0liM0RRRUJBUVVBQTRJQkR3QXdnZ0VLQW9JQkFRRDgKWm1DcndHSDh6MTFkVVN5c0p3UUNyUXdMbTRybzg0ZGJnS1lwbGVIRjNTeXNpMUxCVkNUSmVTWkRSRnlXV2c5UAp5OUZTQ0Q0YW1SNi9OWVpzbEtwQW9YQnhrWWpYZzIvNlg1dDd2ZmYwdlowcGJkaVpMQWxmN2M5aEV5NDg3RnoyCkJScEFxZUZ4WlpZMTFsd1hlOHlBL0VobmxKRVZpQkdQWTdDR1l2WjBZZld2UFMwYkRiYmZMTkN2T1RCeHpVZzQKT2pvQ3N0SGdOQmdsTHIxSnd5TjZxdWx4S2VDZi9MYnpWOVl4eFRNV1l0d2tRckY5VG05bnJvcWN4dzVsUmdlVgptcytHY1hPb3BpTnlrdFhST0ZkYkZOV2U5RitDcERQaysrb2pPWjRlMGVnWWxSL1pnWT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